﻿<cfscript>
/** 
* ORM TaskMark
* 
* @hint "Hibernate persistenter t_task_mark. 教学任务成绩提交状态" 
* 
*/ 

component 
	displayname="public.service.orm.senate.TaskMark" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="TaskMark" 
	table="t_task_mark"
	{
		
	property type="string" name="TaskID" column="task_id" fieldtype="id" generator="assigned" hint="教学任务号";
		
	property type="string" name="CourseIndex" column="cidx" hint="课序号";
	property type="string" name="TaskType" column="task_type" hint="教学任务类别";

	property type="string" name="TaskProgress" column="task_prog" hint="成绩提交状态";
	property type="numeric" name="MarkDone" column="mark_done" hint="已提交成绩数";
	property type="numeric" name="MarkNeed" column="mark_need" hint="需提交成绩数";

	property type="string" name="TimeStart" column="time_start" hint="开始录入时间";
	property type="string" name="TimeSubmit" column="time_submit" hint="正式提交时间";
	property type="string" name="TimeUnlock" column="time_unlock" hint="解锁操作时间";
		
	property name="Term" fieldtype="many-to-one" fkcolumn="term_id" cfc="Term"  hint="学期";
	property name="Course" fieldtype="many-to-one" fkcolumn="cid" cfc="Course"  hint="课程";
		
}

</cfscript>